package com.ydgk.Test;

import com.ydgk.bean.Type;
import com.ydgk.dao.typeDao;
import org.junit.Before;
import org.junit.Test;

import java.util.List;

public class TypeDaoTest {
    private typeDao typeDao;
    @Before
    public void init(){
        typeDao=new typeDao();
    }

    @Test
    public void findByAllTest(){
        List<Type> list=typeDao.findAll();
        System.out.println(list);
    }

}
